/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = ibmmq_comm.h                                       */
/*  NOTE      =                                                    */
/*  DATE      = 2015/06/03 by wuwk                                 */
/*******************************************************************/
#ifndef __IBMMQ_COMM_H_
#define __IBMMQ_COMM_H_

#include "ibmmq_core.h"

int __ibmmq_data_analysis_int(Frreport_body_data *p_st_body_data
                            , Frbyte_Packet *p_st_data
                            , uint32_t u32_byte_order
                            , char *p_key);
int __ibmmq_data_analysis_long(Frreport_body_data *p_st_body_data
                             , Frbyte_Packet *p_st_data
                             , uint32_t u32_byte_order
                             , char *p_key);
int __ibmmq_data_analysis_str(Frreport_body_data *p_st_body_data
                            , Frbyte_Packet *p_st_data
                            , uint32_t u32_byte_order
                            , char *p_key
                            , uint32_t u32_ccsid
                            , uint32_t u32_str_len);
int __ibmmq_data_analysis_bin(Frreport_body_data *p_st_body_data
                            , Frbyte_Packet *p_st_data
                            , uint32_t u32_byte_order
                            , char *p_key
                            , uint32_t u32_str_len);
int __ibmmq_data_analysis_intlist(Frreport_body_data *p_st_body_data
                            , Frbyte_Packet *p_st_data
                            , uint32_t u32_byte_order
                            , char *p_key
                            , int i_cnt);
int __ibmmq_data_analysis_stringlist(Frreport_body_data *p_st_body_data
                            , Frbyte_Packet *p_st_data
                            , uint32_t u32_byte_order
                            , char *p_key
                            , uint32_t u32_ccsid
                            , uint32_t u32_str_len
                            , int i_cnt);
int ibmmq_queue_list_add(L7Session_ibmmq *p_st_session, char *p_queue, uint32_t u32_hdl);
Queue_lst_ibmmq *ibmmq_queue_list_queue_find(Queue_lst_ibmmq *p_lst_queue, char *p_queue);
Queue_lst_ibmmq *ibmmq_queue_list_hdl_find(Queue_lst_ibmmq *p_lst_queue, uint32_t u32_hdl);
int ibmmq_queue_list_hdl_del(Queue_lst_ibmmq **pp_lst_queue, uint32_t u32_hdl);

#endif
